package com.shop.mapper;

import com.shop.entity.Banner;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author XCH
 * @date 2025 - 06 - 18
 */
public interface BannerMapper {
    List<Banner> listBanner(@Param("pageNum")int pageNum, @Param("pageSize") int pageSize);
    void addBanner(Banner banner);
    void deleteBanner(@Param("id") Integer id);
    void updateBanner(Banner banner);
}
